javascript how to remove accents or diacritics

88

javascript how to remove accents or diacritics -

str.normalize("NFD").replace(/\p{Diacritic}/gu, "")

Comments

Submit
0 Comments